<!DOCTYPE html>
<html lang="zh-CN">
 <head>
  <meta charset="utf-8" />
  <meta http-equiv="X-UA-Compatible" content="IE=edge" />
  <!-- 上述3个meta标签*必须*放在最前面，任何其他内容都*必须*跟随其后！ -->
  <meta name="description" content="" />
  <meta name="author" content="" />
  <link rel="icon" href="./img/asset-favicon.ico" />
  <title>码龙汇-头条</title>
  <!-- 页面 css js -->
  <!-- <script type="text/javascript" src="../../plugins/sui/sui.min.js"></script> -->
  <link rel="stylesheet" type="text/css" href="./plugins/normalize-css/normalize.css" />
  <link rel="stylesheet" type="text/css" href="./plugins/yui/cssgrids-min.css" />
  <link rel="stylesheet" type="text/css" href="./plugins/sui/sui.min.css" />
  <link rel="stylesheet" type="text/css" href="./plugins/sui/sui-append.min.css" />
  <link rel="stylesheet" type="text/css" href="./plugins/font-awesome/css/font-awesome.min.css" />
  <link rel="stylesheet" type="text/css" href="./css/widget-base.css" />
  <link rel="stylesheet" type="text/css" href="./css/widget-head-foot.css" />
  <link rel="stylesheet" type="text/css" href="./css/page-sj-headline-login.css" />
 </head>
 <body>
  <div class="sui-container wrapper" id="app" v-cloak>
   <!--引用组件-->
   <!--头部导航-->
   <header>
    <div class="sui-navbar">
     <div class="navbar-inner">
      <a href="./index.html" class="sui-brand"><img src="./img/asset-logo-black.png" alt="图标" /></a>
      <ul class="sui-nav">
       <li class="active"><a href="./index.html">头条</a></li>
       <li><a href="./qa-login.html">问答</a></li>
       <li><a href="./activity-index.html">活动</a></li>
       <li><a href="./makeFriends-index.html">交友</a></li>
       <li><a href="./spit-index.html">吐槽</a></li>
       <li><a href="./recruit-index.html">招聘</a></li>
      </ul>
      <form class="sui-form sui-form pull-left">
       <input type="text" placeholder="输入关键词..." />
       <span class="btn-search fa fa-search"></span>
      </form>
      <div class="sui-nav pull-right info" v-if="username">
          <li>{{username}}</li><li><img src="./img/widget-photo.png" alt="用户头像" /></li>
        </div>
         <div class="sui-nav pull-right info" v-else>
            <li><a href="./person-loginsign.html" target="_blank">注册</a></li>
            <li><a href="./person-loginsign.html" target="_blank" class="sui-btn btn-login">登录</a></li>
        </div>

     </div>
    </div>
   </header>
   <!--三列布局-->
   <div class="sj-content">
    <div class="left-nav">
     <div class="float-nav" id="float-nav">
      <ul class="sui-nav nav-tabs nav-xlarge tab-navbar tab-vertical">
       <li :class="{active:cid==0}" ><a href='/index.html?cid=0'>热门</a></li>
       <li v-for="category in categories" :class="{active : cid==category.id}" >
           <a :href="'/index.html?cid='+category.id">{{category.name}}</a></li>
      </ul>
     </div>
    </div>
    <div class="right-content">
     <div class="fl middle">
      <div class="carousel">
       <div id="myCarousel" data-ride="carousel" data-interval="4000" class="sui-carousel slide">
        <ol class="carousel-indicators">
         <li data-target="#myCarousel" data-slide-to="0" class="active"></li>
         <li data-target="#myCarousel" data-slide-to="1"></li>
         <li data-target="#myCarousel" data-slide-to="2"></li>
        </ol>
        <div class="carousel-inner">
         <div class="active item">
          <img src="./img/widget-banner01.png" />
         </div>
         <div class="item">
          <img src="./img/widget-banner02.png" />
         </div>
         <div class="item">
          <img src="./img/widget-banner01.png" />
         </div>
        </div>
       </div>
      </div>
      <div class="data-list">
       <ul class="headline fixed" id="headline">
        <li class="headline-item" v-for="news in news_list">
         <div class="fl indexImg">
          <img src="" />
         </div>
         <div class="words">
          <a :href="'/headline-detail.html?news_id='+news.id"><h3>{{news.title}}</h3></a>
          <h5 class="author">
           <div class="fl">
            <span class="authorName"> <img src="./img/widget-photo.png" alt="" /> {{news.author.username}}</span>
            <span>{{dateSwitch(news.create_time)}}</span>
           </div>
           <div class="clearfix"></div> </h5>
         </div> <p class="content">{{news.digest}}</p> </li>
       </ul></div>
      <!-- <script src="./data-list.js" type="text/javascript"></script> -->
     </div>
     <div class="fl right">
      <div class="activity">
       <div class="acti">
        <img src="./img/widget-activity01.png" alt="活动一" />
       </div>
       <div class="acti">
        <img src="./img/widget-activity02.png" alt="活动一" />
       </div>
      </div>
      <div class="block-btn">
       <p>今天，有什么好东西要和大家分享么?</p>
       <a class="sui-btn btn-block btn-share" href="./headline-submit.html" target="_blank">发布分享</a>
      </div>
      <div class="question-list">
       <h3 class="title">热门回答</h3>
       <div class="lists">
        <ul>
         <li class="list-item"> <p class="list-title">关于系统问答你都应该都应该都应该注意些什么吗？</p> <p class="authorInfo"> <span class="authorName"><img src="./img/widget-photo.png" alt="" />玻璃筒</span> <span>6月22日 12:01</span> </p> </li>
         <li class="list-item"> <p class="list-title">关于系统问答你都应该注意吗？</p> <p class="authorInfo"> <span class="authorName"><img src="./img/widget-photo.png" alt="" />玻璃筒</span> <span>6月22日 12:01</span> </p> </li>
         <li class="list-item"> <p class="list-title">关于系统问答你都应该注意吗？</p> <p class="authorInfo"> <span class="authorName"><img src="./img/widget-photo.png" alt="" />玻璃筒</span> <span>6月22日 12:01</span> </p> </li>
         <li class="list-item"> <p class="list-title">关于系统问答你都应该注意吗？</p> <p class="authorInfo"> <span class="authorName"><img src="./img/widget-photo.png" alt="" />玻璃筒</span> <span>6月22日 12:01</span> </p> </li>
         <li class="list-item"> <p class="list-title">关于系统问答你都应该注意吗？</p> <p class="authorInfo"> <span class="authorName"><img src="./img/widget-photo.png" alt="" />玻璃筒</span> <span>6月22日 12:01</span> </p> </li>
        </ul>
        <a class="sui-btn btn-block btn-bordered btn-more">查看更多</a>
       </div>
      </div>
      <div class="card-list">
       <div class="head">
        <h3 class="title">遇见TA</h3>
       </div>
       <div class="list">
        <ul>
         <li class="card-item">
          <div class="attention">
           <span>关注匹配度：<i class="degree">83%</i></span>
           <span class="fr"><i class="fa fa-heart-o" aria-hidden="true"></i><i class="fa fa-times close" aria-hidden="true"></i></span>
          </div>
          <div class="img">
           <img src="./img/widget-t01be3f1015cf52e1f3.png" alt="" />
          </div>
          <div class="info">
           <div class="fl photo">
            <img src="./img/widget-photo.png" alt="" />
           </div>
           <div class="fl intro">
            <p>【馨儿】发布了雕刻时光约会邀请</p>
            <p class="name">玻璃通 <span class="date">6月22日 12:01</span></p>
           </div>
           <div class="clearfix"></div>
          </div> </li>
         <li class="card-item">
          <div class="attention">
           <span>关注匹配度：<i class="degree">86%</i></span>
           <span class="fr"><i class="fa fa-heart-o" aria-hidden="true"></i><i class="fa fa-times close" aria-hidden="true"></i></span>
          </div>
          <div class="img">
           <img src="./img/widget-MOG88A60E7ZI.png" alt="" />
          </div>
          <div class="info">
           <div class="fl photo">
            <img src="./img/widget-photo.png" alt="" />
           </div>
           <div class="fl intro">
            <p>【馨儿】发布了雕刻时光约会邀请</p>
            <p class="name">玻璃通 <span class="date">6月22日 12:01</span></p>
           </div>
           <div class="clearfix"></div>
          </div> </li>
         <li class="card-item">
          <div class="attention">
           <span>关注匹配度：<i class="degree">78%</i></span>
           <span class="fr"><i class="fa fa-heart-o" aria-hidden="true"></i><i class="fa fa-times close" aria-hidden="true"></i></span>
          </div>
          <div class="img">
           <img src="./img/widget-t019e2d84e53580b099.png" alt="" />
          </div>
          <div class="info">
           <div class="fl photo">
            <img src="./img/widget-photo.png" alt="" />
           </div>
           <div class="fl intro">
            <p>【馨儿】发布了雕刻时光约会邀请</p>
            <p class="name">玻璃通 <span class="date">6月22日 12:01</span></p>
           </div>
           <div class="clearfix"></div>
          </div> </li>
        </ul>
        <a class="sui-btn btn-block btn-bordered btn-more">查看更多</a>
       </div>
      </div>
      <div class="activity-list">
       <h3 class="title">活动日历</h3>
       <div class="list">
        <ul>
         <li class="list-item"> <p class="list-time"> 2017/06/30 北京</p>
          <div class="list-content clearfix">
           <div class="fl img">
            <img src="./img/widget-simple.png" alt="" />
           </div>
           <div>
            <p>在线峰会 | 前端开发重难点技术剖析与创新实践</p>
           </div>
          </div> </li>
         <li class="list-item"> <p class="list-time"> 2017/06/30 北京</p>
          <div class="list-content clearfix">
           <div class="fl img">
            <img src="./img/widget-simple.png" alt="" />
           </div>
           <div>
            <p>在线峰会 | 前端开发重难点技术剖析与创新实践</p>
           </div>
          </div> </li>
         <li class="list-item"> <p class="list-time"> 2017/06/30 北京</p>
          <div class="list-content clearfix">
           <div class="fl img">
            <img src="./img/widget-simple.png" alt="" />
           </div>
           <div>
            <p>在线峰会 | 前端开发重难点技术剖析与创新实践</p>
           </div>
          </div> </li>
         <li class="list-item"> <p class="list-time"> 2017/06/30 北京</p>
          <div class="list-content clearfix">
           <div class="fl img">
            <img src="./img/widget-simple.png" alt="" />
           </div>
           <div>
            <p>在线峰会 | 前端开发重难点技术剖析与创新实践</p>
           </div>
          </div> </li>
        </ul>
        <a class="sui-btn btn-block btn-bordered btn-more">查看更多</a>
       </div>
      </div>
      <div class="ad-carousel">
       <div class="carousel">
        <div id="myCarousel" data-ride="carousel" data-interval="4000" class="sui-carousel slide">
         <ol class="carousel-indicators">
          <li data-target="#myCarousel" data-slide-to="0" class="active"></li>
          <li data-target="#myCarousel" data-slide-to="1"></li>
          <li data-target="#myCarousel" data-slide-to="2"></li>
         </ol>
         <div class="carousel-inner">
          <div class="active item">
           <img src="./img/widget-ad01.png" />
          </div>
          <div class="item">
           <img src="./img/widget-ad01.png" />
          </div>
          <div class="item">
           <img src="./img/widget-ad01.png" />
          </div>
         </div>
         <span class="adname">广告</span>
        </div>
       </div>
      </div>
      <!-- <link rel="import" href="../../modules/ui-modules/footer/footer.html?__inline"> -->
     </div>
    </div>
   </div>
  </div>
  <div class="footer">
   <div class="wrapper">
    <div class="footer-bottom">
     <div class="link">
      <dl>
       <dt>
        网站相关
       </dt>
       <dd>
        关于我们
       </dd>
       <dd>
        服务条款
       </dd>
       <dd>
        帮助中心
       </dd>
       <dd>
        编辑器语法
       </dd>
      </dl>
      <dl>
       <dt>
        常用链接
       </dt>
       <dd>
        传智播客
       </dd>
       <dd>
        传智论坛
       </dd>
      </dl>
      <dl>
       <dt>
        联系我们
       </dt>
       <dd>
        联系我们
       </dd>
       <dd>
        加入我们
       </dd>
       <dd>
        建议反馈
       </dd>
      </dl>
      <dl>
       <dt>
        关注我们
       </dt>
       <dd>
        微博
       </dd>
       <dd>
        twitter
       </dd>
      </dl>
      <div class="xuke">
       <h3>内容许可</h3>
       <p>除特别说明外，用户内容均采用知识共享署名-非商业性使用-禁止演绎4.0 国际许可协议 (CC BY-NC-ND 4.0) 进行许可</p>
       <p>本站由 传智研究院 提供更新服务</p>
      </div>
     </div>
     <p class="Copyright">Copyright &copy; 2017 传智问答社区 当前版本 0.0.1</p>
    </div>
   </div>
  </div>
</body>
</html>
<script type="text/javascript" src="js/vue-2.5.16.js"></script>
<script type="text/javascript" src="js/axios-0.18.0.min.js"></script>
<script type="text/javascript" src="js/base.js"></script>
<script type="text/javascript" src="js/headline-index.js"></script>

